package edu.scause.gs.model;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractClient entity provides the base persistence definition of the Client
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractClient implements java.io.Serializable {

	// Fields

	private String clientId;
	private String name;
	private String idNum;
	private String password;
	private Set orderses = new HashSet(0);
	private Set addresses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractClient() {
	}

	/** minimal constructor */
	public AbstractClient(String name, String idNum, String password) {
		this.name = name;
		this.idNum = idNum;
		this.password = password;
	}

	/** full constructor */
	public AbstractClient(String name, String idNum, String password,
			Set orderses, Set addresses) {
		this.name = name;
		this.idNum = idNum;
		this.password = password;
		this.orderses = orderses;
		this.addresses = addresses;
	}

	// Property accessors

	public String getClientId() {
		return this.clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdNum() {
		return this.idNum;
	}

	public void setIdNum(String idNum) {
		this.idNum = idNum;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

	public Set getAddresses() {
		return this.addresses;
	}

	public void setAddresses(Set addresses) {
		this.addresses = addresses;
	}

}